package com.my12306.common.constant;

/**
 * @Author:苏牧夕
 * @Date:2020/5/14 13:40
 * @Version 1.0
 */
public class PostConstants {

    /**
     * cookie 的url  “/” 表示所有
     */
    public static String cookiePath = "/";
    /**
     * 验证码的Cookie名字
     */
    public static String verificateCode = "_vfcde";
    /**
     * token
     */
    public static String Authorization = "Authorization";
    /**
     * 管理员名称
     */
    public static String ADMIN = "admin";

    public static enum OpenCheck {
        no_check(0),
        checked(1);
        Integer value;

        OpenCheck(int i) {
            value = i;
        }

        public Integer getValue() {
            return value;
        }

        public void setValue(Integer value) {
            this.value = value;
        }
    }

    public static enum LogicDelete {
        no_delet(1),
        delete(0),
        no_check(0),
        checked(1);
        Integer value;

        LogicDelete(int i) {
            value = i;
        }

        public Integer getValue() {
            return value;
        }

        public void setValue(Integer value) {
            this.value = value;
        }
    }
}
